package com.cdn.nodes.service.impl;

import com.cdn.nodes.domain.EdgeSshCluster;
import com.cdn.nodes.mapper.EdgeSshClusterMapper;
import com.cdn.nodes.service.IEdgeSshClusterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author Cinzia
 * @date 2024-12-19
 */
@Service
public class EdgeSshClusterServiceImpl implements IEdgeSshClusterService
{
    @Autowired
    private EdgeSshClusterMapper edgeSshClusterMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public EdgeSshCluster selectEdgeSshClusterById(Long id)
    {
        return edgeSshClusterMapper.selectEdgeSshClusterById(id);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param edgeSshCluster 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEdgeSshCluster(EdgeSshCluster edgeSshCluster)
    {
        return edgeSshClusterMapper.insertEdgeSshCluster(edgeSshCluster);
    }

}
